It's very important. Without that attachment, it makes it difficult to really make any relationship at all.
Being able to attach to a parental figure or a permanent caregiver is important, because they can then build that trust and build that relationship, and be able to actually allow themselves to have that support system. It's also important for them to know they have someone in their corner they can rely on.