In that case, I think both would have the right to withdraw. If you've already used the plan, you are eligible again after a marriage or common-law union breakdown, but there is, however, a condition that applies: you must reimburse the full amount before you can use the plan again.
It will depend on the specific situation.