If you bought the time share for personal use, then just as in the case of a sale of a principal residence, no loss is allowed. If you bought the time share for investment purposes, you may be able to take the loss as a long-term capital loss.
Depreciable property used in a trade or business and held for more than a year. All Section 1231 gains and losses are netted; a net gain is treated as capital gain, a net loss as an ordinary loss.