Retirement tax questions

I was just told, BY THE IRS on a phone call, that being on parole is the same as being an inmate and thus I am not eligable for my tax return for money that I worked hard for after I got out of prison. So is that true or not???