If you do not go straight to prison or jail after a guilty verdict, the officer may place you in custody after your sentencing hearing. Your sentencing hearing is where the judge decides how long you will be in prison or on probation for your conviction.