A resignation addressed to the legislature or to the presiding officer of either house thereof, shall be delivered to and filed with the secretary of state, and he shall forthwith communicate the fact of such resignation to the legislature or to such house, if in session, or if not, at its first meeting thereafter.
A resignation addressed to any other body shall be delivered to the presiding officer or clerk of such body, if there be one, and if not, to any member thereof, and shall be filed with the clerk, or if there be no clerk, with the other records of such body. A delivery at the office or place of residence or business of the person to whom any such resignation may be delivered shall be a sufficient delivery thereof.
N.Y. Pub. Off. Law § 31