When driving at night, using only your parking lights is unlawful.

It is unlawful to drive at night using only your parking lights. Drivers are required to use their headlights when driving in the dark.
DMV Writen Test