It's the same name/character reference as those exotic names are often subject to little variations (witness "Osama/Usama").
excerpt:
De Mille's final film the remake of his own The Ten Commandments (1956) took it's toll on both cast and crew. The 220 minute epic involved logistical nightmares from changing Anne Baxter's character from Nefertiti to Nefertiri (De Mille fretted the original name would lead to breast jokes) to attempting to have Charlton Heston as Moses carry actual stone tablets carved out of the real Mount Sinai.
No, not so. Nefertiti was contemporary with Tutankhamon (King Tut). She may have been his Sister-in-Law/Aunt or Aunt/Sister-in-law, being married to his older brother Ankhenaten... there is some belief that Tut married Nefertiti on his brother's death and his ascension to the throne. It is also possible that Nefertiti then married his successor Ai.
It is NOT possible that Nefertiti was married to Ramses the Great or a more likely candidate for the Pharoah of the Exodus, Thutmose IV, because they had been dead and in their sarcophaguses for several hundred years by the time of King Tut.
The name Nefertiri was made up by Hollywood.