It depends on the airline and country. Our entire crew usually board the aircraft after the pax have disembarked, and get a quite enjoyable 5-10 minutes chatting while handing the aircraft over.
In USA & Canada it is forbidden for the inbound & outbound crews to meet, for Customs reasons...
LJ