If you are single, you have lost the job anyway, if you are married you don't have the job either, what company would wish to have someone who will be taking a bunch of time off due to an unplanned pregnancy.

On the good side, enjoy your new blessing and be a good mother to it. I hope it is healthy.