Maybe not. California legislators think they found a way around that. Reportedly, the Real ID Act specifically allows states to issue driving licenses to illegal aliens.
This is from the San Francisco Chronicle, May, 2005
It also allows states to choose whether to issue driver's licenses to illegal immigrants as long as they have different markings such as color or design than a regular license. They also must clearly state that the license cannot be used as an official identification card.