https://www.ato.gov.au/individuals-and-families/investments-and-assets/capital-gains-tax/foreign-residents-and-capital-gains-tax/your-residency-status-and-cgt
Your residency status and CGT | Australian Taxation Office
Your tax residency may be different to your residency for other purposes.
your residency statusaustralian taxationcgtoffice