The effect of an order arresting judgment, in a felony case, is to place the defendant in the same situation in which the defendant was immediately before the indictment was found or information filed. In a misdemeanor or infraction case, the effect is to place the defendant in the situation in which the defendant was before the trial was had.