ESP01-S voltage divider short circuit?

Indeed. but this is that I want, I do not care about the voltage, just if I receive it or not.

the power company sends nothing, or sends 12V. That is why I am supposing that a digital pin will sullfice