As a datapoint, this wasn't my experience at Google. Both times I left I gave notice and continued working (with full access) up until my negotiated last day. I don't remember anyone else getting escorted out for giving notice either; in management conversations it was always "how much longer can we convince them to stay around to facilitate a handoff", as this post discusses.