In the last few days I found out I am pregnant with my first child. Before I discovered this I quit my job, will I still be able to get maternity allowance from the government even though I quit rather than got fired/made redundant?