Only a handful of states allow people who are currently incarcerated to vote. In some circumstances, people convicted of a crime are permanently disenfranchised. For a complete break down by state, refer here:
https://www.ncsl.org/research/elections-and-campaigns/felon-voting-rights.aspx
According to the Sentencing Project, 5.2 million people in the United States are denied access to vote because of a felony conviction. Restoring voting rights strengthens our democracy, and addresses disenfranchisement due to racist policies and practices.
Below, you will find link with further detail and the full report.