I have an easy time doing this, to me its the plot calls for your death, your leaving or whatever it is that causes their removal from the story outside of flash backs, or talks about them from other characters.
Good or Bad does not matter to me, I even kill off the main character of my own...