I agree an attorney will give you the best advice. If I could take a guess, it’s based off of whose name is on the deed/loan, if you guys have a prenup, and other legal and financial factors.
@Anima🪷 Both of our names are on it 😔
That’s a tough situation. Only IMO, try to work it out with him first, as in asking him if he’d be willing to take his name off etc, or you buy him out (if you still owe). Expensive, but attorney fees and court litigations are going to be just as costly. BUT, if they work in your favor sometimes they make the “loosing” spouse pay the others legal fees. But I’m just a pro-keep the courts out of it type of person. But it may be unavoidable. I hope the best for you.
You should have a consultation with a divorce attorney to discuss all of the details.