I've worked as an election judge in Maryland, although not since the touchpad machines were introduced. You could not ask for ID. It's a touchy political issue, with implications of discrimination against voters who do not have identification, particularly photo ID. Poorer voters are more likely to lack it, so requiring it might disenfranchise that class.
Florida has done just the opposite. Until this year, we had to produce a voter registration and photo ID, then sign a check list that had a pre-printed copy of your signature from the registration application.
This year, it was photo ID only - no voter registration required. During the weeks ahead of the election, during which time FL has the polling places open. During that time, with a photo ID, you can vote in any precinct, even if your ID showed you lived in another district, and there are no checklists. At least on election day, your address must match your ID. FL has taken the approach that it would rather have people voting several times rather than preventing an registered but without documents voter from voting, even if it also means allowing unregistered voter to vote.