“Typically, refinancing is the only way to transfer responsibility between parties. If your ex can’t qualify for the loan on her own, she could ask someone else besides you to be a co-signer, such as a parent or sibling.
If refinancing isn’t possible, your credit is at risk if your ex-wife can’t make the payments. Unfortunately, as long as your name is still on the loan, in the lender’s eyes, it’s still your joint responsibility, regardless of what the divorce decree says.