Leaving your car parked with the AC on and the engine running is not recommended for long periods. Aside from consuming fuel, it can cause wear on your engine. Typically, doing this for 10-20 minutes should be fine, but anything longer should be avoided to prevent potential damage.