Question: how to open psd file in illustrator with layers?
Answer: Go to File > Place . ... 
In the Import Options, turn on Convert Layers to Objects .
Place the image and go to the Layers Panel to expand the current layer so you can see the sublayers. ... 
The Photoshop layers have been converted to objects.