'You must have been employed by your employer for a continuous period of at least 26 weeks into the qualifying week (which is the 15th week before the week in which the baby is due). This period must include at least one day's employment in the qualifying week.'
Basically you must have been there 12 weeks ish before you get pregnant. When are you due?
Of course this is if your in the UK!