I'm not sure that's the best analogy simply because being in a band with someone is a lot less intimate than fucking someone. Of course nobody would feel sexually threatened if your ex hangs out with someone they have never fucked or had a sexual interest in.