Can 2 air conditioning units be connected to 1 programmable thermostat?

I'm looking to replace 2 mercury switched thermostats with programmable ones. Can 2 compressor and fan units be hooked up to one thermostat? These units provide AC to one large area.
3 answers 3