LTE network supports always on IP connectivity. It means UE should have an IP address until it gets de-registered.
Attach is the procedure by which UE gets registered with MME/Network. I always saw an IP address assignment done by either PGW or MME and sends to UE on attach accept message.