As discussed earlier in this write-up, your spouse can agree to sell the home, or the court can order them to sell it if they don’t want to. The same is true with a buyout.