No, no, no, no a billion times no to this absolutely not no The moment you give your resignation, there are good odds your company will say "we accept your resignation effective immediately. Goodbye." Sometimes it's a blanket company policy to do this, sometimes it's because they know you're going to a competitor and they don't want you to start training for your new job, sometimes they were on the fence about you st…
The moment you give your resignation, there are good odds your company will say "we accept your resignation effective immediately. Goodbye." Genuine question; is this a US thing? I've never, ever seen this or heard of it happening. I don't think I've ever worked at a company that didn't state in the contract the notice period. I have seen companies decide they don't want that person on site anymore when someone quits…
Then I was let go immediately. Which was an unexpected hit, though luckily the new company let me move my start date up. This was a tech company with around one hundred employees, and I was in good standing (my then manager later recruited me for a position at a different company).
The best approach is to always give two weeks formal notice on a Friday morning, with the expectation that there's a chance you'll not be coming back on Monday. Best to do all the transition preparation work before that moment. If I've got a manager that I trust, I let them know with a bit more informal advance notice.
ETA: on the other hand, I gave a month or two advance notice to Google, and they were happy to have me stay until my resignation date. My sense is that it's smaller companies that tend to do the immediate layoff.