Sure, something like this:
torch.save([densenet.state_dict(), resnet.state_dict()], 'checkpoint.pt')
densenet_state, resnet_state = torch.load('checkpoint.pt')
densenet = DenseNet(...).load_state_dict(densenet_state)
resnet = Resnet(...).load_state_dict(resnet_state)