2E deities had stats or at least their avatars did, just look in the Faiths & Avatars book. It lists their ability scores, hit points, magic resistance, etc... great book too, btw.
The stats in Faiths & Avatars and, before that, Legends & Lore were explicitly for the avatars of the gods - tiny portions of divine power in (usually) humanoid form. How difficult an avatar would be to replace depended on the deity's power level - a greater god could have 10 avatars at once, and making a new one took a day, whereas a demigod could only have one avatar and needed a whole year to make another.
However, 2e was a bit split on the issue. On one hand, it said "Gods are beyond stats", but then it went on to say describe specific abilities gods of various tiers had. For example, an intermediate god would be immune to a non-magical or +1 weapon - but if they were beyond stats, why would they need such an immunity?