In some situations, yes it is. My boyfriend is friends with some of his exes, and I'm friends with some of them too. (His exes, not mine) I've only remained distant friends with one ex, because I dragged things in other relationships out rather than ending them when I should have.