No. I'd just use the other way.
Put them in prison equals to how much time they took away from the other person's life, based on the average human life span. But if the person murdered was past the average span, just give the person that killed 25 years anyway.