Yes, someone can access your iPhone from another device if they have your iCloud login information. They can also access your iPhone if they have your passcode.