From Louisville Military Prison, he likely would have gone to Camp Chase or Camp Douglas. The information you are seeking should appear in your ancestor's Compiled Military Service Records.
You can obtain those here. See the advertisement at the top of this page.
Hugh Simmons