You can use either. The plural (like) is very common in British English. When the reference is to one's ancestors, the singular should be used: My family has lived in this country for centuries.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.