Any civil officer or peace officer having authority to apprehend offenders under the laws of the United States or of a state, territory, commonwealth or possession, or the District of Columbia, may summarily apprehend a deserter from the state military forces.