Maternity leave

I am just wondering if anyone knows how it works if you get pregnant on your maternity leave.. can you get another year of benefits through EI without working much in between?