At Goldman Sachs Group Inc. and other US banks, staffers know that their bosses want them back in the office. Yet many of their colleagues at European firms are working about half the time from home. Their employers say that flexibility is a competitive advantage.