You have to find out the ground for this lay off. If you were laid off because you were in maternity leave, surely you can sue the employer; If you were laid off because of your working performance, you still can sue, since they should not do it while you are on maternity leave; There are some exceptions, for example, the business of your employer not in good shape, and they have to lay off a big percentage of their labor force. In that case, you were not discriminated, just one out of a big group. The nature of the law suite will change.