Yes, you will qualify for the benefits of corporate actions even after you have sold the stocks on the record date or ex-date. To qualify for dividends, bonuses, buybacks, splits, amalgamation, mergers, etc., the respective shares must be in your name on the record date

Cash benefits such as dividends are transferred to your primary bank account directly, given that it is linked to your demat account. Any form of fractional stock benefit from a corporate action might be settled in cash in your bank account itself. 

In contrast, stock benefits in corporate actions such as bonus, splits, etc. are credited directly to your demat account.