Originally, it was a 40-day-long period of imposed isolation, so it's from the Italian for "forty"
It is 
not known why 40 days was chosen as the length of isolation time needed ... 
Forty days was the period of the biblical travail of Jesus in the desert.