Yes, sunscreen must be worn inside as well, especially if your skin is exposed to artificial light sources like computers and smartphones or to natural light sources like sunlight. Windows can let in UV rays, which accelerate the aging process.