Whether that is home, a dedicated office, coffee shop, or you're one of the rare individuals that can pull it off in a cube farm or the worst of the open office designs, do whatever works for you. This is where employers must be flexible, not everyone is going to be productive in the same environment.
And speaking of focus, disabling virtually all notifications on your phone and computer will increase productivity too.