Once, living in Israel involved existential and economic danger, so it was not obligatory, but nowadays the mitzvah obligates every Jew.

Read more