Road trip at 24 weeks safe??

Rose • 1 miscarriage at 9 weeks. Ttc w pcos again
I am traveling to detroit. Its a 5 hr drive. Is it safe to travel that lin in a car??? Should i avoid it??