It depends which Resident Evil you mean. The original games and Code Veronica lean on dread and scarcity, while Resident Evil 4 and 5 are far more action-oriented, and those two are still tense but rarely frightening in the way Dead Space is.
Dead Space is built as sustained horror: the sound design, the cramped corridors and the inability to trust anything around a corner keep the pressure on continuously. Resident Evil at its best delivers sharper, more punctuated shocks.