Should exit from the country before completion of 6th months or starting of 7th months of pregnancy period. If she have Residence Permit then she can give birth in qatar or should travel on before first week of 7th month.