If you become aroused at the idea of having sex with something with the characteristics of a corpse, then yeah, that would be necrophilia. Otherwise, I don't think so. It's like having sex once or twice with a person of your own sex doesn't necessarily makes you gay, but if the attraction is something constant, then chances are you're gay of bi.