What are the disadvantages to identify elements based on coordinates in IOS simulator

If i automate a test case in simulator with object based on coordinates will it work on real device

and vice-verse

Thanks,
Jagadeesh