In your particular context, "were" would be correct, as the subjunctive is indicated where you are positing a hypothesis that is not a fact (necessarily so, since the person isn't alive).
There are contexts where the subjunctive isn't indicated - eg "If the concert is [not "be"] on Friday then I won't be able to come".