That's the requirement in many states. A few examples:
Originally Posted by 93JC
Georgia: Each elector must present a valid ID that contains a photo of the elector. Valid IDs include a driver's license, state identification card, tribal identification card, United States passport, employee identification or military identification card.
Indiana: Public Law 109-2005 requires Indiana residents to present a government-issued photo ID before casting a ballot at the polls on Election Day. Photo IDs must meet four criteria for voting purposes: display a photo; display your name (which should match voter registration record); display an expiration date and either be current or have expired sometime after the date of the last General Election; and be issued by the State of Indiana or the U.S. government.
Tennessee: At polling places, voters must show government-issued photo identification. Valid forms of ID do not include student ID cards from state universities.
Student and work IDs count in some states that require photo ID, but not all. Even then- I haven't been in school in over 15 years, and I've never had a job that gave me a photo ID.