The other posters don’t seem to know what you mean but you’re essentially asking because Japan requires tourist visa applications be made from ones country of residence OR citizenship and whether the Japanese Embassy will consider you resident for that purpose.
It’s a long term visa so, according to the rules and if you can submit a tenancy agreement and utility bills, you’ll meet the conditions.