Yeah, if I was gonna build a desalination plant built to use <$0 cost electricity, I would essentially build a giant (distillation) still. I'm not a process expert in flash desalination, but it looks similar to (maybe identical to) a still.
Just a big resistor in a big tank (or pond), a big fume hood and coil to another tank. Capital cost can probably be minimized a whole lot.