With such high resistances, you indeed risk random behavior of the switch when, for example, someone touches the node between R20 and R21 on the board. But aside from that it won't give you much trouble if you keep the traces sufficiently short (i.e. don't give it the chance to pick up noise).
If you can afford a slow switching speed, I'd consider making R20 even higher, 2M2 for example, and omitting R21 since in the current setup you're making a 1:2 voltage divider which is prone to weird behavior. If Q1 is on then the current will be Vin / 2M2, if Q1 is off then it will be negligibly small and R20 will passively pull up the line to keep Q7 and Q8 turned off.
What is the purpose of R23?