The members of the organized militia or military forces shall in all cases, except treason, felony, or breach of the peace, be privileged from arrest during their attendance at drills, parades, meetings, encampments, and the election of officers and going to, during, and returning from the performance of any active duty as such members.