I've had several bouts of insomnia in my life time. It is one of the most frustrating and stressful things you can go through. Take the Ambien and don't feel badly. Chances are it will pass in a week or two especially once you are not stressed from no sleep. Also consider taking a warm bath before bed, avoid any stimulating conversations/drama with friends/family at least two hours before bed time and remember that this is not forever. You will get back to sleeping regularly. It happens to all of us from time to time. Hang in there, sweetie.
This website was helpful to me.
http://www.kellymom.com/health/meds/aap-approved-meds.htm...
Ambien is listed as Level B for pregnancy meaning: NO EVIDENCE OF RISK IN HUMANS: Adequate, well-controlled studies in pregnant women have not shown increased risk of fetal abnormalities despite adverse findings in animals, or, in the absence of adequate human studies, animal studies show no fetal risk. The chance of fetal harm is remote, but remains a possibility.
Updated