Doesn’t matter if you were the trespassee and you’re dead.
It certainly would matter for the person who did the shooting, since they’ll probably end up in prison for a very long time.