Yes, your employer can ask you about contacts from prior employees. No law prevents it. You are free to decline to answer.