I believe that it would be alright. It is an unknown environment which makes you stressed. But it is a very different environment from what you can imagine. It takes time to understand it and get used to it. If somebody says that, they did not feel like an outsider when they were in jail, you can be sure that it is not true.
People feel themselves to be like strangers when they move to another city.
If one strives to do something good in a difficult environment then Allah will help one in what one wants to do . But when there is no effort to do something then it does not matter what the conditions are. It's the same in or out of the jail. You were a captive during the 28 February Process. My trial was going on and everything from the political scene was reflected in the courts.