A director may resign at any time by giving written notice to the corporation. The resignation is effective without acceptance when the notice is given to the corporation, unless a later effective time is specified in the notice.