I'm from Norway, and I was shocked when I moved to the UK where typical notice periods is only one month. In Norway it is extremely hard to write a contract that will hold up that limits notice periods for full time non-seasonal workers to less than 3 months.
Most of the time people work out a 3 month notice period. And in fact, except in special circumstances, we generally have the right (and duty, if we want to continue to get paid through our notice period) to keep showing up for work and doing our job.
In practice, most people who are offered/asked nicely to stop coming in to work earlier will come to a suitable arrangement, but it is not very common.