Nicholas Bloom, a Stanford University economics professor, has been researching working from home for almost 20 years—longer if you count the time he observed his remote-working parents while growing up.