A residence visa is required if you wish to stay in Germany for more than 90 days for work or study purpose or if you intend to move to Germany permanently.