It’s totally fine to leave the router 24hours on and it will not affect its longevity and performance. It’s good to turn off and on the WiFi router every few months to clear the issues