Jim: Seriously, go to a lawyer. Although they rarely work through the power of prayer, they are quite effective. Especially with legal problems.
DUI? Dealing Drugs? Better Call Saul: http://www.bettercallsaul.com/
No seriously, Jim -- speaking from experience, a good lawyer will make you feel better than a terrific doctor (no offense, Seth).
It was easier to feel sympathetic when I thought it was about your health.
All things considered, it IS about his health. Anything that would have him begging our prayers and "good thoughts" (the nonbeliever's equivalent of a prayer), is affecting his health, because it's causing massive stress. Stress is a killer.
Jim -- I'm going to stress it again -- GET SOME LEGAL REPRESENTATION! You need someone pulling for you on your side. I know you think that God's the one on your side, but in my days in the ministry, it was commonly preached that God always answers prayer, but He sometimes answers "no" -- if He were going to answer "no" to something I prayed to NOT be incarcerated for, I would at least want someone who understood the law standing beside me, making sure I got the best deal possible, to all that God's "no" entailed. A lot of innocent people get screwed into incarceration because they didn't have an adequate defense, and a lot of guilty people are walking the streets freely because they had a better than adequate defense.