Not necessarily. There are countries where voting is mandatory, but where there is no electronic voting, and it works all the same.
In Belgium, the turnout rate is quite high, 90%, even though voting takes place over a single day. There is no early voting or electronic voting, but, as a result of their social conscience, people feel they have a duty to go and vote, even though no fines have been imposed on people who have failed to vote in Belgium since 2003. The fact remains that the voter turnout rate is still 90%.