My field is a weird one. Weird bad, that is.
I’ve seen accountants get hired after not being in the active workforce for 10+ years. And yet I wouldn’t hire an IT person who’d been out of the workforce for 3 years. And in some areas, merely 2. That’s how fast it all changes.
If you’re out of the game for 3 years or more, you’re basically a newbie again.
No other field is like that.