Japan, Russia or Sweden their eligibility criteria for citizenship are One must live in there for 5 years, would it be possible if I live there on tourist visa for 5 years am I eligible to apply for citizenship?
Usually, the residency requirements are for legal residency. I.e.: you should be a legal permanent resident for 5 years when you apply for naturalization. This is true for Russia and the US, not familiar with Japan or Sweden - but I assume it's similar. Overstaying a tourist entry permit is not generally considered "legal residency" for immigration purposes.
Russia specifically has an exception for people who arrived to Russia and stayed without permanent residency before July 2002, but all of those, I assume, have naturalized already. The date is the date at which the current immigration law took effect.