If you have set in iChat pereferences (> messsages > automatically save chat transcripts) iChat to save your chats, you'll be set.
If that's not set to save ... then the other party might have saved it, and/or the server. The servers are by default set to save them AFAIK but that will be a lot more hard to retrieve...