Whether it's ridiculous or not is a matter of perspective. In Europe the minimum is 1-3 months, though there's often a trial period where the obligated notice is 1 week or less.
In practice though the employee/employer are free to upon termination sign an agreement reducing the dismissal period to whatever they feel is appropriate. Few employers wants to keep an employee that's decided to quit longer than strictly necessary.