When a user clicks on one of your campaign links and is redirected towards your site, a campaign cookie is deposited on their browser. It is this cookie that allows us to determine how long "prior attribution" should last.
By default, a campaign persists for 30 days, after which the cookie is deleted. However, this can be modified via the Tag Composer interface.