In Germany, most contracts (and any regular job has a contract) say something like 1 month notice for the first six months on both the employer and employee’s side, and 3 months for the employee after that trial period, and possibly longer for the employer after you’ve been around for several years.
My colleagues were shocked when I confirmed that offering more than two weeks’ notice in the US is super nice to your employer, and two weeks is not considered unprofessional.
To add - The 'notice' is a nicety. AFAIK, most employer-employee contracts in the US are at-will where either party can cancel the contract and part ways at any time for any reason.
Typically 3 months these days in India. Used to be 1 month in past, but over the years, all the IT outsourcing firms have started using 3 months notice.