The definition of a first time home buyer according to HUD is:
Someone who has never owned a home
Someone who owned a home but sold it over 3 year ago
Someone who is divorced and buying on their own for the first time