Mainly it is preference. However it is nice to give them a day time and a night time. You could turn their light on when you get up and turn it off before you go to sleep. Depending what you have in your tank, it's nice to give your fish about 6-8 hours of light a day. Natural sunlight, that lights up any room, will be fine too. You don't need to buy special lighting always.