I cook sometimes with wine. Does the alcohol evaporate when cook? and can I eat it?

So I sometimes cook with white wine a Spanish chicken dish. Does the alcohol evaporate when cooked? And is it safe to eat while pregnant? Or is it like drinking the wine itself?