Via Arizona real estate lawyer Chris Combs;

… if the builder could not get a certificate of occupancy by the closing date, the buyer would be entitled to the return of payments made to the builder even though the buyer beached the contract.