Illinois

The Illinois Department of Financial and Professional Regulation provides a searchable database of all licensed professionals in Illinois.  (In the first field choose 'PUBLIC ACCOUNTANT' from the dropdown menu.)

Nationwide

CPAverify, a free CPA lookup tool, is a centralized database of licensed CPAs across the country.