Legio VI Victrix was stationed for a very long period in Spain, earning it the title Hispaniensis. It was posted to the province of Britannia in 119 AD, replacing Legio IX Hispana at Eboracum (York).
I am certain that York was never known as "home of the sixth legion" in Roman times, but it may have been given that name in modern times.