Sleeping Terms:

Used to describe a relationship with an ex that still involves occasional sex.

They broke up a while ago, but they still hook up. They're totally on sleeping terms.