I'd check with your health care provider just to be sure. They say you should avoid strong fumes while pregnant so I'd be inclined to steer clear until the smell has settled. If it's giving you a headache already, chances are you will only feel a lot worse after a night in the house.

Enjoy the new floorboards when you're ready to move back in permanently!