It probably happens too fast to be noticed at normal speed, but Luke has a pretty good grip on his saber.
And now I have the mental image of his hand grasping the hilt long after it falls.
When the hand dies, the tendons in the fingers can grip very hard and stay that way.
So, yeah. Luke’s hand probably held onto that thing as it burned in the garbage or rotted away or whatever happened.