“I’m what they call a duialie. I’m both a guard and a prisoner!”
I doubt you would be sent to the same prison.
But hear me out. What if they could.
Knew a guy who was sentenced by a judge to be a “trustee” at a prison, he was quick to point out he was never a (normal) inmate, trustees work within the prison, not as guards, for no pay - they do things that some non-inmate employees get paid to do. Depending on the situation, it might be a small transition from employee to trustee - but I highly suspect that whatever the employee did to be sentenced as an inmate would best be handled with him as an inmate (which trustees technically are) at a different prison.
I think this is the question that has stretched the boundaries of the name of this community to it’s limit.
Shut it down, we’re done here.
Consider this… If you work at the unemployment office and get let go, you still need to go back to work the next day
What if there’s no more unemployment and the unemployment office has to close but that effectively creates more unemployment?
Is it really unemployment if nobody is there counting the unemployed?

