No police-officershall be at liberty to withdraw himself from the duties of his office unlessexpressly allowed to do so by the District Superintendent or by some otherofficer authorized to grant or such permission, or, without the leave of theDistrict Superintendent, to resign his office unless he shall have given to hissuperior officer notice in writing, for a period of not less than two months, ofhis intention to resign.