It’s not that simple.  There should be terms in the agreement and when separating amicably this isn’t an issue.  It appears this will be like War of the Roses.