How soon before moving out should carpets be cleaned?

Ideally within a day or two of the final inspection to keep carpets looking fresh.