When selling your home, the purchase contract says that throughout the escrow process, the home has to be "maintained in substantially the same condition as on the date of acceptance.”
That means whatever condition the home was in at the time the buyer’s offer was accepted, good or bad, is how the home should stay throughout escrow and is how the property should be delivered to the buyer.
There is no need to go above and beyond when it comes to cleaning the home before moving out.
Although getting the home professionally cleaned before vacating is a nice gesture to the buyer, simply keeping it in the same condition that it was in when the home went into escrow is good enough