Maternity leave question

😍👑
How long do you have to be with a company to get maternity leave typically?