I believe in your own mother tongue, you would level on some words if the order of words changes. So is Chinese.1 .他五年前就退休了 = It was five years ago when he retired.
This structure is ok, but the meaning is changed and we need context to understand this precisely.他退休了，五年了。He has retired. (It has been) Five years. Very colloquial