It depends on the job, the access to information, the employee's rapport with the supervisors and a host of things. I had the misfortune to discover that I was working for a "sinking ship" The owner was juggling the books to keep the place afloat, I had substantial bonuses coming and was worried that I would not receive them. Since the company was going under anyway, I copied all the computer files of the jobs I worked, expecting that I would be shown the door any day and immediately if I gave notice. I also copied company books, showing the owner was defrauding the customers. Turns out he didn't pay the health ins, withholding taxes, unemployment or anything else for several months. I went to a job interview and I was hired to start in two weeks. I was very closed mouth about things because I did not want to be shafted on the bonuses if I could help it. Well I gave notice as soon as I got to the office, I was escorted to the door, waited while they packed my personal belongings in a box, I was handed a no trespassing notice and a lock smith was there changing the locks within 15 minutes of my giving notice. I immediately submitted change of address letters to those companies for whom I had done work, and some of them sent me the checks. The boss still stiffed me out of about $15,000 in bonuses more than what I collected. Ironically, a few months after starting the new job, my task, was to file papers to sheriff sale the former boss. Since I knew where everything was, the bank accounts and knew who owed him money. I tied him up so bad, even his car was repo'd. He was out of business and closed in six months and then prosecuted for tax evasion. I managed to take a dozen or more customers with me. (My former coworkers also left en mass within a week when their pay checks bounced.)
OTH, three years earlier, I left a job I had for 15 years. I gave two weeks notice. I ended up putting in all kinds of late hours making sure that everything went smoothly after I departed. On the last day, the boss came in and handed me a century old $50 gold piece and told me any time I wanted to come back. I get invites to the office Christmas parties every December. The boss at that job and I are still friends and go fishing every summer.
I guess the point is, if the employee is trusted and well liked, they are less likely to boot the employee immediately. If there is a lot of distrust between employees and management, you get the "bum's rush"