If you are trying to sell something that features someone else intellectual property, expect a possibility of being shut down.
If you make the game free, that will just reduce the chance, but companies legally still can send you a cease and desist regardless, i believe. Most just won't bother, idk about capcom, but it's not unheard of some companies, like the big N, to shut down fan-games and even minceraft mods(pixelmon).
A better option is just to make an Resident Evil "inspired" game, that is "legally distinct". Maybe even a "parody". If you know what i mean.