My husband and I got gifted his parents house. now selling it after never living in it ourselves. The house will close on 21/31. Will we pay capital gains taxes?

Not 21/31- December 31 of 2020