Sweden is not like that, there's no at-will employment.
There's a probationary period, usually a really long one (like 6mo), but after that period is over it's basically impossible to fire people.
3mo is the standard notice period for you to give your employer when leaving, if you are made redundant then severance depends on tenure but it begins at 3 months and goes up to 1yr of salary (that I've seen.)
How did Sweden get like that?