I'm new to RPGs and I'm not sure how attached I should be to any characters I make. On one hand I don't think it would be pleasant to spend hours making an in depth character only to have them die off, on the other I don't like not having a real risk involved. I have searched through previous questions finding some that discuss how to get getting players attached to a place or NPC, and I have seen questions about GMs dealing with character killing. That is not what I'm asking.
Where is the "Goldilocks" zone for characters, not too attached or you'll burn when they die, and not too cold that you lose interest. What are good ways to avoid over/under attachment?
One thought I had was to create a second character ahead of time, but I can already see that I probably wouldn't be as invested in them. Also I could then see myself playing the first one like I don't care I get a respawn after all. Is this feasible?
How do experienced players deal with this issue?
What are some strategies that have mitigated the impact of death for some experienced players?
I'll be playing D&D 3.5 with 3.0 Druids.