On your return and taking up residence somewhere you / landlord / hotel etc are required to report. Who does it after you arrive depends on you/your landlord/hotel/hostel . . .
You don't need a tm30 to clear immigration on your return. Just you/landlord/etc submit a tm30 within 24hrs of taking up residence wherever that may be.