Does "have" mean the same thing in these two sentences?

They have two more years before they retire.

I have two years left.
the same meaning