yes it is required. you can get cited for not having one. i guess the logic is that if people/cops need to grab your license number at night, they need to be able to see it.
i was borrowing a friend's car once and the light was out. i got pulled over. the cop could have given me a ticket but since it wasn't my car and i didn't know about it, he let me slide.