It is purely for the benefit of the employer. You can always negotiate a shorter or asymmetric notice period. There does not appear to be any relation between "flexibility" (at-will employment so companies can abuse you) and unemployment rates. Japan has 3% unemployment and stronger labor protections than Europe.