From the minecraft wiki.
"Using the same seed to generate two separate worlds will generate the same terrain consistently, even on different systems. As such, seeds can be shared by players to generate the same world between them. However, the choice of spawn point is random and independent of the seed, so while the terrain will be identical, the player's initial view of it will not be.[2]
"