In any case, I would suggest that your friend, provided that she wishes to immigrate to Canada, seeks legal advice and assess her case against current legislation with a licensed immigration practitioner/CSIC member/lawyer. As you may agree with me, it is very easy to give suggestions or general info over the internet, especially having no professional responsibility. No one knows all the facts and, therefore, can't say 100% what is the best for her under circumstances. She might be eligible under many programs, and her child's birth in Canada, can play a crucial role for her future immigration.