yes he can resign when ever he wants. Normally a company issues an experience certificate only to those who has completed at least one year of service. Your friend will get minimum 1 yr employment ban in Qatar if he resigns now.