The New Jersey Supreme Court ruled May 3 that a divorce agreement that calls for the termination of alimony if an ex-spouse cohabitates with another person, even if that cohabitation is temporary, is enforceable.

In a 4-2 ruling, the majority upheld a property settlement agreement that mandated the termination of alimony for a woman who lived with another man for a little more than two years after she divorced her husband of 23 years.