Yes. You would need to separately negotiate with the bank to be released from the mortgage, or have your ex- refinance the house so you are no longer on the mortgage.