The Japan Rail Pass is a special discount ticket for travelers visiting Japan from foreign countries for sight-seeing purposes only. Travelers with working, student, trainee, entertainer,

cultural, government (military) visas will not qualify for the Japan Rail Pass.
The "Temporary Visitor" entry status/stamp is the only valid stamp which will qualify travelers to use the Japan Rail Pass. According to Japanese Immigration Law, "Temporary Visitor" status allows a traveler to stay for up to 90 days.