It is perfectly safe to keep your porch lights on or off overnight, it is a good idea to leave the lights on for security as it will deter any would-be burglars and also enable you to see anyone who might approach your front door.