National Conference of State Legislatures has a list of how states provide information about their registered voters. Look up your state if you live in the US.
This page provides 50-state information on access to voter lists. States have varied requirements on who is eligible to request a list of voters, what information the list contains, what information is kept confidential, and how information contained in voter lists may be used. Many states also have specific programs to keep all voter information confidential for certain classes of voters.