I'm actually studying abroad and I will stay here after finished but each country have special rules.
In the most european countries, you need to have a "reason" to stay. When you're studying, it's quite obvious... But when finished, you need a new one. It goes from family (got married, have children,...) to getting a job and many others.
There are also the problems of the european plans. If you're going to school through an european plan for education, it says that you have to do it through a school in your country of origin so you'll have to go back to your original school to have your graduation.
Anyway you'll have to check the local laws in that matter.
Hope it helped.