If you are using CloudExtend Outlook without installing the bundle, inactive records are automatically removed. But if you have the bundle installed, follow the below steps to excluding inactive records from your search results.
Steps:
In NetSuite, Navigate to Set preferences > Analytics > Make sure the Include in-actives in global and quick search is unchecked.