In "jail" - most likely the answer is yes. Here's Michigan's law:
"If you have been convicted of a crime, and have been lawfully released from prison, you have the right to vote upon registering to vote. If you are confined in a jail, but have not been convicted or sentenced, and you are otherwise a qualified elector, you may request to register to vote by having your registration application notarized. You will be deemed a resident of the city, township, and address at which you resided prior to confinement."
If you're meaning in prison or convicted of a felony, then it's state specific. Here's a web site (a little outdated) but gives an over view of each state's law:
http://www.ncsl.org/programs/legismg...voterights.htm