There’s no harm in leaving your PS5 controllers plugged into the console overnight. The console goes into Rest Mode which, depending on the power saving settings enabled, will still deliver power to the ports, so your gamepads will juice up. Remember, though, that the console only has one front-facing USB port, with the others on the rear, meaning two cables will be needed if you own a duo of controllers without the charging station.