Any parts that can be used to improve a human life should be used that way. Then any parts that can be used to improve animal/plant life should be used that way. Then the rest should be disposed of in the manner that consumes the fewest resources.
But, I’ll be gone; you guys can do whatever with it; I won’t care.
If it is possible for the mind to survive the death of the body, I also think uploading would be fine. It’s a risk to be sure, but not having a body would actually address a lot of my current disappointments.
If resurrection is possible, I’d like to think the death could be prevented. But, I’ll take it if uploading is not available and death of the body is still inevitable.