The majority of the countries except for a few exceptions like Canada and if you are not applying for residence via investment programs provide temporary residence initially. You will get a temporary residence permit depending on your duration of study or work and it needs to be renewed a few months before it expires. These permits are valid for 1-5 years. In maximum cases, immediate family members like spouses and children can accompany you, but each country has different sets of laws for family reunification. Temporary residence for entrepreneurs requires certain criteria to be fulfilled to have their permit renewed like a continuation of business activity and revenue generation. Common requirements for temporary residency in most countries are financial means to support yourself and your family, minimum living space, the purpose of stays like a job or study, health insurance, and no criminal offense. Permanent residence can be obtained after certain years of residence in the majority of the countries. But in some countries like Canada and Australia, you can also obtain permanent residence immediately. Generally, you need to stay in that country for a certain period like a minimum of 182 days each year. There are also other requirements like minimum living space, financial support, no criminal offense, health test or health insurance, language test, and integration test.