Do all jobs in California offer maternity leave?

How do I get maternity leave ?

Do retail jobs offer maternity leave how does it work?