I believe the answer is: Potassium
Potassium is the substance that functioned as the controller of fluid and electrolyte balance in our body.
The longer we died, the lower the amount of potassium in our body would be, so it can be used to measure a predicted time of death.