I agree with "Thinker"
Although it has never happened to me... Its not uncommon and I've known a few people that even after a break up or divorce still slept with their ex from time to time...sometimes it the relationship thats bad .. not the sexual attraction..
Do as "Thinker" did and dont put yourself in the situation to let it happen again...