Generally speaking your time as a student in the UK (or any other EU member state) will not count toward your five year residence requirement before you may apply to become a citizen (or subject, in the case of the UK) in that country.

My comments re: cultural deprivation were not intended to discourage you from moving, rather they were based on twenty-one years observation of foreigners moving into Ireland and after less than a year going back "home".

It was Walter Scott who wrote in Lays of the Last Minstrel:

Breathes there a Man with soul so dead
He never to himself has said,
"This is my own, my native land."

And when that moment comes, people tend to pack their bags and head back "home".

You may move to Scotland, but no matter how long you live there you will never truly be "Scottish". Your children born there will be Scots, but you will at best be British by adoption. That said, go for it if you want. Good or bad you'll love the experience. And if nothing else it may convince you that Dorothy was right when she told Auntie Em, "There's no place like home."