AFAIK, the Australian system doesn’t operate like this for visa overstays. Your friend may be confused with asylum applications for those who arrive by boat (which isn’t often used in practice).
https://www.unsw.edu.au/content/dam/pdfs/law/kaldor/factshee...