Is it required to have a mortgage on the replacement property?

No; it is not required to have a mortgage on the replacement property purchased in an exchange.