Whenever, upon the trial of any person for a crime, it shall appear that the defendant has already been acquitted or convicted upon the merits, of the same crime, in a court having jurisdiction of such offense in another county of this state, such former acquittal or conviction is a sufficient defense.