As per the card, you activate it immediately after an enemy declares an attack on one of Maximus' allies. No range is listed, so there are no range restrictions - he can use the ability anywhere in the Hexadome.