Moksha is not dependent on any particular external situation or circumstance. Moksha is the realisation of immortality by the removal of ignorance through the attainment of Divine knowledge. It is primarily a change in our internal consciousness and vision. A man, who is placed in a certain situation in the days of his ignorance, may still continue to remain there, in the same situation, even after he has attained Divine knowledge.