The legal requirements for emigrating and immigrating vary by country. Generally, individuals must obtain a valid passport, visa, and other necessary documents to enter a country. They may also need to meet certain health, financial, and security requirements.