The convicts might be OK with this as a productivity tool (isolation, exercise periods) given high speed internet access and loads of computer gear. They had better hurry while the sentence for white collar crime is a resort spa with gates.
If someone intends to engineer an AI which causes mass murder or substantially disrupts critical infrastructure they can get a 20 year sentence. Same as trying to build a nuclear weapon.