In California, we have a form called “Interim Occupancy Agreement” that spells out the terms of this arrangement. It is basically a short-term lease that references the purchase agreement, projected close of escrow date, and what to do if the escrow is terminated without closing.