It used to mean that. First World was US aligned (or at least US friendly), Second World was Soviet aligned, Third World was not aligned
Now though, First World means developed nations, Third World means poor nations, Second World has fallen out of use