"with the Soul in the Heavens
and with the Cock in the Asshole"
The expression is depicting our dual nature. When one wants to have both of the 2 worlds... or something. Usually the expression is preceded by the phrase: "you cannot be / it's not possible to be"