I feel at home in both places, because I've been in both countries for long periods.

Please remove spaces between words.
Ifeelathomeinbothplaces,becauseI'vebeeninbothcountriesforlongperiods.