No elite (re)qualification rules change for "maternity leave" or any other type of personal/work situations. To keep Gold status, you'll either have to requalify by 31 Dec or accumulate a lifetime total of 1,000,000 AAdvantage miles by 28 Feb (assuming the lifetype program does not change between now and then).