roth ira

My wife worked this year and i didn't.  Found out that we both can put money in an ira even though I didn't make money this year...Can we only put money in my ira and not hers (she hasn't opened one yet).  And lets say we made $5,000 can we place all of it into an ira?