Staying friends with exes?

April

I’m wondering about others who may have stayed friends with exes. How did that work out? What are the unwritten rules? What makes someone worth keeping in your life, even when you didn’t work romantically?