4 Channel optocoupler

What about, in theory, the signal floating from 24-36v? would the voltage divider still be ok?