Bankruptcy Law Questions? Ask a Bankruptcy Lawyer.
It is unlikely that BoA will ''forgive" the debt for your ex-spouse. If BoA does not want to pursue the collection of the balance of the mortgage after the house forecloses, BoA will most likely sell the debt to a collection agency - which will then have the right to collect the balance of the mortgage.
I think this is what you wanted to know. If not, please let me know.