is it bad to travel in car for 5 hours?

I'm 17 weeks pregnant.
And we're driving from Boston to NJ to visit family.
Obviously we're gonna take a couple stops, maybe like 2-3 but most of it will be driving.
Is this safe for baby?