I honestly cannot think of a correlation between battery replacement and a lack of heat.
Check the heater control valve, check the temperature blend door actuator, check engine temperature to ensure it's getting hot enough.
RepairPal Certified shops can diagnose and repair your 2001 Mercury Grand Marquis. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.