First off, none of this is intended to be advice and is only meant to point you in the direction of the official sources.
For Australian permanent residency, it will depend on the visa you're after. For example take a look at the official eligibility criteria for the 189 visa
It says on that page that
You must be aged under 45 when we invite you to apply ...