yes its still covered under warranty, and worse case scenario you can always load it to default
there was actually a class action lawsuit against APPLE that they lost saying they owned the phone, the courts ruled in favor of the people, see link below
http://www.wired.com/threatlevel/2010/07/feds-ok-iphone-jailbreaking/
Ive done it with my past few iphones with zero problems....