I believe that death in sci-fi is very much like death in comic books: nonpermanent.
They used to say that only three deaths in comic books had to be permanent: Bucky, Jason Todd, and Uncle Ben. Reason? The deaths of those three characters were extremely important in shaping the heroes they were associated with (Captain America, Batman, and Spider-Man, respectively.)
Since then, both Bucky and Jason Todd have been resurrected.
Science fiction and fantasy are genres that allow for the non-permanence of death (especially Fantasy, and I consider Star Wars to be far more Fantasy than SF).
If we complain (for lack of a better word) when a dead character comes back in one franchise, why not complain for all of them? After all, Gandalf died in The Fellowship of the Ring, and they resurrected him. Same with Aslan in The Lion, the Witch, and the Wardrobe.
-Sparks Nevada, Marshal on Mars
"Who cares what evil lurks in the hearts of men!"
"Unless evil's carrying the Martini tray, darling."
-Frank and Sadie Doyle