Not sure why this comment is being downvoted. It's exactly right: you can apply for EB visas (or any other permanent resident classification you're eligible for) without any prior connection to the US and get an "immigrant visa" in your passport to travel to the US.