Deductions & credits

"Built a house with a partner"
Wouldn't they first have to file a partnership return (including for prior years)?