A court shall arrest judgment if an indictment or information does not charge an offense or if the court does not have jurisdiction of the offense charged. Any party may move to arrest judgment, but such motion must be made within ten days after the verdict or finding of guilty or after a plea of guilty or nolo contendere, or within such further time as the court may fix during the ten-day period.
SDCL 23A-30-1