Not necessarily. SSDI is an insurance program that requires workers to pay taxes in order to be insured for disability benefits. However, the general rule is that a worker must typically have worked 5 out of the last 10 years to be eligible for disability benefits. Having some gaps in your work history does not prevent being eligible for benefits.