Depends on the phone and how stable the software is... I've had phones that had issues with particular versions where if I let the thing run for 5 or 6 days, it would start to slow down and run like junk. But I've had others, like my 6P now, that I've gone as long as two weeks without a reset without any ill effects.
It certainly doesn't hurt your phone to reboot it regularly.