Should a felon who is receiving life in prison be allowed to recieve life saving treatment?

Whether it's spur of the moment such as a heart attack or stroke, or long term as chemotherapy for cancer treaments. Is it like giving them a death sentence if we don't or is it okay because they're a criminal?