Yes, you have to refi to get her name off the mortgage.
When I went through mine, I had my ex-wife sign a quit claim deed for the Lowndes property I owned and I signed one for the house so she could get my name off the mortgage so she could have it. I'm pretty sure the mortgage company had to have that and a copy of the divorce decree refi for her.
Dr. B