Yes — Pennsylvania code 28 Pa. Code § 18.44 requires a telephone within the enclosure or easily accessible from the deck.
Pennsylvania requires a telephone within the pool enclosure or easily accessible from the deck.
Citation: 28 Pa. Code § 18.44
"Easily accessible from the deck" gives some flexibility for nearby buildings, but inspectors typically want a direct sightline or short, unobstructed path from the pool to the phone.
SouthEast Telephone installs and monitors cellular emergency pool phones nationwide and can help you meet Pennsylvania's requirements.