For most users, nothing should happen. Stack Overflow has more than 10 million users. Statistically, there will be many users dying every day (228/day if we assume world average, likely less as Stack Overflow has less old people than world average, but still many daily). Having any system in place will put too much work on team or moderators.
However, if a high profile user dies (such as top 20), I hope there will be a meta announcement and an obituary notice put on the user profile, thanking them for their contributions and noting that they will be missed. Moderators can do so. For example, see this user on Christianity SE (who still tops the reputation leagues four years after he passed away).