Need advice

Is it good to work overnight if your pregnant ?