International Business Machines Corp. is giving thousands of its remote workers in the U.S. a choice this week: Abandon your home workspaces and relocate to a regional office—or leave the company.

The 105-year-old technology giant is quietly dismantling its popular decades-old remote work program to bring employees back into offices, a move it says will improve collaboration and accelerate the pace of work.

The...