Laying out while pregnant

Is it okay to lay out in the sun while you're pregnant?