These women were laid off while on maternity leave. Yes, it's legal, and probably more common than you thought It's never a good time to be laid off. Losing your job with a newborn can be especially hard.