EU applicants can reside in Germany with no restrictions.
Non-EU applicants: Upon successfully finishing your degree of choice at a recognized German university, you can receive an 18-months-long visa to look for a job in your field of expertise. During this period, you have the right to do unspecialized student jobs. Once you receive a job contract in your field of expertise you can switch from a student visa to a job visa without having to go back to your home country.