Bonjour Scott !
"J'habite à Perth" is correct if you're talking about a city, however to say "in Australia", you'll say: "en Australie".
See the related lesson:
En/au/aux = In/to with countries and continents (French Prepositions)
À bientôt !