If you can't keep your closet light on or use another source of light in said closet, then I'd say don't put it in there. While bp's don't specifically need a day/night cycle like other animals, keeping them in the dark 24/7 probably isn't a good idea.

What if you open the closet door during the day?