Is it necessary to believe in the existence of the six realms and the heavens and hells to be a Buddhist? Not necessarily. It is possible to interpret these as, perhaps, referring to other dimensions of existence, parallel universes, or simply states of mind.
Damien Keown, Buddhism: A Very Short Introduction
buddhism