If the universe is infinite, does that mean there’s an infinite chance of extraterrestrial life?

I know this is probably not how this works, but if it is, then doesn't it make sense? Think about it, and if this is true then doesn't that mean that there's an infinite chance that there's a planet exactly like earth, with the exact same history, people, and technology?