There are no LEGAL restrictions, but publishers want to avoid it because same name books cause confusion. You'll want to make sure it's a VERY different genre. "Looking for Alaska" is both a Young Adult novel about a girl named Alaska, and a nonfiction book about the state of Alaska.
So if the genre of your book is different, then you should be okay.