Basically you want a judge in a court action to say the spouse must move in so many days. It creates a finite period of time after which the spouse is in contempt of a court order. Eviction via court process or via divorce court will both likely suffice. Both create a scenario where police have a court order to see, where a judge told them to leave.