Yes, if you sell shares on the record date then you will qualify as an eligible shareholder to receive Right issue entitlement. It is because, it takes T+2 days to debit the shares from your Demat account, and thus, you still own the company’s shares as on the record date and will be an eligible shareholder to apply for the right shares.