Yes, a subreport can use a different data file than the main report if the field used to link the subreport contains the same values in both data files.

 The steps for linking a subreport to the main report can be found here.

*Note: Blackbaud does not support or recommend the use of more than one database file in one report.