My company makes you sign a stat dec saying you will not work for anther employer while on maternity leave so I guess it's an individual business thing.