Section 19 of the Constitution of Australia
A senator may, by writing addressed to the President, or to the Governor-General if there is no President or if the President is absent from the Commonwealth, resign his place, which thereupon shall become vacant.