Creating custom fields: 1) previous address 2) number of years at this address
You can create 'multiple record' fields which will allow your users to keep adding more sets of the same fields until you have enough to cover your 'x years'.

There is documentation in the book here

Hope that is what you are needing.

NOTE: Multiple Rows do come with limitations and gotchas