It reminds me of something. It doesn't remind me of my home country but it does remind me of Spain, where I lived for two years.
This can be reworded as the original was: "It reminds me not of my home country but of Spain, where I lived in for two years".
It's a perfectly grammatical construction but I don't recommend that you use it too often. It can sound overdone.
Student or Learner