The social media giant announced that it plans to allow all of its employees to work from home if they choose.