The historical facts need to be solid. If you never use them in a story, still be well educated in the social norms, food, religious groups that were in that place at that time and what their practices were. If you don’t know the world these characters inhabit your story loses a lot.