If a notice is sent to you only then it doesn't happen in a channel, so the answer is no.

The only thing close to that is $comchan($nick,1) which would return the first channel that you were in with the person who sent you the notice.