Agile is not about the details. If you are producing shippable versions of your product every 2 months or less then your probably Agile relative to what existed when the term was invented.
That does not say you can’t have a distributed team. It simply says face to face communication is best.