That seems unrealistic. Laid-off workers need to find a new job long before their former employer could hire them back.
If you are unable to obtain a satisfactory replacement position after that time, it might be very desirable to have the option to get your old job back.
Some businesses are seasonal, so it might make sense there as well.
"Originally, layoff referred exclusively to a temporary interruption in work, or employment"
Tech "layoffs" are something of a euphemism for terminating (rather than pausing) employment for business reasons.