After the judgment of criminal first instance, there is still an appeal period. During the appeal, he will be in the detention center and will not be sent to prison for execution immediately. So, if you want to see the children, you can appeal. After this appeal, there is still some time to leave the court. At that time, your wife will probably give birth. Take your child to the second trial and see you in court.