Why are registration dates so defined ?

All the deadline dates for registration and for applying for a postal or proxy vote are laid down in law.  We have no discretion over those dates and they are very widely publicised in advance of elections.