when do u need a crib ?

I co-sleep with my daughter, she's 5 months now. My husband lives in another country so I go back and forth. At what age will I definetky need a crib?? We are on a tight budget and I can't buy two cribs.And for those who didn't buy a crib, until what age was your LO sleeping beside u?