Equitable distribution of home

If judge orders a spouse to sign a quit claim deed, does the home have to be refinanced immediately?

No, the mortgage would not need to be refinanced immediately unless the court order specifies otherwise.