Your comment made me think so I went and found the following which really does answer my basic questions (the how they do it as well as why). This definitely makes it easier to understand why people are coming here illegally in such droves. The states essentially are allowing things that the federal government prohibits
13 States (and DC) That Allow Driver's Licenses for People in the Country Illegally
(as of June 18, 2019)
Sample Nevada driver's authorization card for immigrants in the country illegally. The card is distinguished from driver's licenses for legal residents by the words "Not Valid for Identification" above the blue bar.
Immigrants in the country illegally cannot produce the necessary documents (like a social security card) to obtain a driver’s license under state laws. Beginning in 1993 with Washington state, 13 states and DC have changed their laws to allow immigrants in the country illegally to obtain driver's licenses. Those states hope to encourage unlicensed drivers to pass the driver's license test and obtain car insurance.
Some city governments, including San Francisco, CA, New Haven, CT, and Asbury Park, NJ, issue photo identification cards to residents who are in the country illegally. These ID cards cannot be used as driver's licenses.
1. California Date Effective: Jan. 1, 2015
Bill:
AB 60
Law: Chapter 524, Statutes of 2013
Date Signed: Oct. 3, 2013
Law Description:
The law requires the DMV to issue a California driver's license to anyone who can satisfactorily establish California residency. If the driver cannot show proof of legal residency (with a social security number, for example), the license will have a "recognizable feature" to distinguish the license from those issued to legal residents. The law makes it illegal to discriminate against anyone who holds a driver's license with that mark. The license may not be used for identification purposes.
2. Colorado Date Effective: Aug. 1, 2014
Bill:
SB 13-251
Law: Session Law 42-2-104
Date Signed: June 5, 2013
Law Description:
The law provides driver's licenses to people who filed Colorado state income taxes in the previous year and can show proof of current state residence, or who have an Individual Taxpayer ID and proof of 24 months of state residency, with a passport, consular ID, or military ID. The license will state "Not valid for federal identification, voting, or public benefits purposes."
3. Connecticut Date Effective: Jan. 1, 2015
Bill:
HB 6495
Law: Public Act 13-89
Date Signed: June 6, 2013
Law Description:
The law allows an individual who cannot provide a social security number or other proof of lawful presence to obtain a driver's license if he/she presents proof of identity and Connecticut residency, and signs an affidavit stating he/she will file an application to legalize his/her immigration status or will file an application as soon as he/she is eligible. The law excludes convicted felons. The license cannot be used for proof of identity or voting and is valid for three to six years.
...
13 States (and DC) That Allow Driver's Licenses for People in the Country Illegally - Illegal Immigration - ProCon.org