The standard real estate purchase contract states that possession of a property from seller to buyer must be turned over by 6pm on the day escrow closes.
So even if you record, and close escrow at 8am in the morning, the seller is still allowed to remain at the property until 6pm.
Keep in mind a standard contract can be changed.
As long as the buyer and seller agree, the seller could stay in possession for days... months... years... the entire life of the seller... whatever is agreed upon.