The expression is normally understood to mean: ..until the day I die.
However, in the right circumstances, your other idea is plausible. I am comforting a (possibly) dying person. I say to him, "Don't forget next Friday. We have a big celebration next Friday". He replies with your expression, meaning ... provided that I live.
Student or Learner