If one spouse is keeping the house, they will need to refinance the mortgage in their name only. This will remove the other spouse's name from the mortgage and ensure that they are no longer responsible for making mortgage payments.