OP is wrong and reads too much reddit - US bad, EU good. It is definitely possible to get fired "effective immediately" in EU/Sweden and 100% legal. I've seen it myself. (The company would just pay the 3 months salary)
Yea, but getting 3 months pay without having to work sounds even better for the employee. Now, there will still be the issue of dropping off Slack and hand off etc.
I do read too much Reddit, but I also live in Sweden lol