The person still needs to have worked (and thus paid into the system through salary contributions) above a certain threshold in order to qualify.
Employers can top up this payment but can then impose conditions (e.g. only after a year in the company or whatever)
However, it is a quite common employee benefit, that the employer pays full salary for part of or for the entire parental leave. The employer is then reimbursed from the government for the first 2k€ every month.
Nothing prevents you from quitting when you get back from parental leave. Except that you probably already have a lot on your mind with a little child - why add the extra pressure of switching jobs?
Indeed. I keep hearing that line of argument from Americans in particular: "But but but if healthcare is free, what will stop people from living an unhealthy life and having society pay the cost??" – eh, the fact that having cancer and heart problems in order to scam society is just a really really unattractive and unscaleable idea?