Earlier quoted context omitted.
That has never been the case at any company I have ever worked for. My impression is that two weeks notice with continued access is pretty standard so long as you're leaving on good terms.
At Microsoft, the standard practice is that if you say you're leaving to take a job a company they consider a competitor, they cut off all your access at the end of the day, even if your manager wants you to stick around for knowledge transfer. If it's not a competitor, it's up to you how much notice you want to give. If you say you're leaving but don't say who your next employer is, they assume it's a competitor. Fa…
Amazon has rapid termination processes as well but I’m not as clear on their criteria.
If you work for a big technology company and are jumping to a perceived competitor, and/or if you have access to sensitive information, then you should expect that the day you give notice will be your last day.