Can criminal detention be executed outside prison?

Execution outside prison is a penalty execution procedure in the criminal procedure law, which is usually aimed at criminals who are serving their sentences. Therefore, criminal suspects and defendants who are detained in criminal detention generally do not meet the conditions for execution outside prison, but at this time they can apply for bail pending trial. 1. Criminal detention on bail meets the following conditions: (1) Application for bail pending trial: According to the provisions of China's Criminal Procedure Law, the persons who have the right to apply for bail pending trial include: criminal suspects, defendants and their legal representatives, close relatives and lawyers hired. (II) Applicable conditions for obtaining a guarantor pending trial: Article 65 of the Criminal Procedure Law clearly stipulates that the people's courts, people's procuratorates and public security organs may obtain a guarantor pending trial for a criminal suspect or defendant under any of the following circumstances: 1. May be sentenced to public surveillance, criminal detention or independent application of additional punishment; 2, may be sentenced to more than fixed-term imprisonment, taking bail pending trial will not cause social danger; 3, should be arrested according to law, but because of serious illness, or pregnant, breast-feeding women, should not be arrested; 4. The criminal suspect has been detained according to law, and after interrogation and examination, it is considered necessary to arrest but the evidence is insufficient; 5. The criminal suspect or defendant who has been arrested and detained cannot close the case within the statutory time limit of investigation and detention, examination and prosecution, first instance and second instance, and is released on bail pending trial, which is not harmful to society; 6. A criminal suspect who holds a valid passport or other valid exit documents and may leave the country to escape investigation, but does not need to be arrested; 7, submitted to the approval of the arrest, the procuratorial organs do not approve the arrest, the need for reconsideration, review;